﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
			Person person = new Person();
			Console.WriteLine("Person类的Print方法打印内容");
			person.Print();
			Student student = new Student();
			Console.WriteLine("Student类的Print方法打印内容");
			student.Print();
			Teacher teacher = new Teacher();
			Console.WriteLine("Teacher类的Print方法打印内容");
			teacher.Print();
		}
    }
}
